package com.vehicle.feign;

import com.vehicle.vo.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("sms-service")//模块名称
public interface SmsFeign {

    @GetMapping("/sms/sendOver/{userName}/{tel}")
    public ResultVO sendOver(@PathVariable("userName") String userName, @PathVariable("tel") String tel);
}
